package com.sinothk.special.buyer.userblog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sinothk.special.buyer.userblog.entity.UserBlogTip;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 博客未读提醒
 * @Author: Liangyt
 * @Date: 2022-06-27
 * @Version: V1.0
 */
public interface UserBlogTipMapper extends BaseMapper<UserBlogTip> {

    int countBlogTips(@Param("userId") String userId);

    List<UserBlogTip> unreadBlogTips(@Param("userId") String userId);
}
